﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace WebApi.Models
{
    /// <summary>
    /// 七天天气信息
    /// </summary>
    public class DailyItem
    {
        /// <summary>
        /// 
        /// </summary>
        public string fxDate { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string sunrise { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string sunset { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string moonrise { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string moonset { get; set; }
        /// <summary>
        /// 盈凸月
        /// </summary>
        public string moonPhase { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string moonPhaseIcon { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string tempMax { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string tempMin { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string iconDay { get; set; }
        /// <summary>
        /// 多云
        /// </summary>
        public string textDay { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string iconNight { get; set; }
        /// <summary>
        /// 晴
        /// </summary>
        public string textNight { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string wind360Day { get; set; }
        /// <summary>
        /// 东北风
        /// </summary>
        public string windDirDay { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string windScaleDay { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string windSpeedDay { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string wind360Night { get; set; }
        /// <summary>
        /// 北风
        /// </summary>
        public string windDirNight { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string windScaleNight { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string windSpeedNight { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string humidity { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string precip { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string pressure { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string vis { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string cloud { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string uvIndex { get; set; }
    }

    public class WeatherDailyRefer
    {
        /// <summary>
        /// 
        /// </summary>
        public List<string> sources { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<string> license { get; set; }
    }

    public class WeatherDailyDataRoot
    {
        /// <summary>
        /// 
        /// </summary>
        public string code { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string updateTime { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string fxLink { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<DailyItem> daily { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public WeatherDailyRefer refer { get; set; }
    }
}
